<%@ Page Language="C#" ValidateRequest="false"AutoEventWireup="true" CodeFile="ServerHtmlEncodePage.aspx.cs" Inherits="ServerHtmlEncodePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="TextBox1" runat="server" Height="132px" TextMode="MultiLine" Width="320px"></asp:TextBox>
        <br />
        <asp:Button ID="Button1" runat="server" Text="Without HtmlEncode" Width="145px" OnClick="Button1_Click" />
        <asp:Button ID="Button2" runat="server" Text="With HtmlEncode" Width="145px" OnClick="Button2_Click" /><br />
        <asp:Literal ID="Literal1" runat="server"></asp:Literal></div>
    </form>
</body>
</html>
